import Vue from 'vue'
import VueRouter from 'vue-router'
import home from "../App.vue";
import about from "../page/about.vue"

Vue.use(VueRouter)

const routers = [
    {
        path:"/",
        name:home,
        component:home
    },
    {
        path:"/about",
        name:about,
        component:about
    }
]

const router = new VueRouter({routers});
export default router;